<%@ Register TagPrefix="coreims" Namespace="Sedna.Core.Controls" Assembly="Sedna.Controls" %>
<%@ Page language="c#" Codebehind="OpenPopup.aspx.cs" AutoEventWireup="false" Inherits="Sedna.Core.pages.Controls.OpenPopup" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html>
  <head>
    <title>OpenPopup</title>
    
    	
        
  </head>
  <body id="body" onload="openPopup('<%= Context.Request.Params["popupUrl"] %>')">
	
    <form id="MainForm" method="post" runat="server">
        <coreims:ImsJavascriptEmitter runat="server" ID="imsJavascriptEmitter" />
	    <script language="JavaScript">
		    using("DocumentFramePage");
		    function openPopup(popupUrl) {			
			    var page = new DocumentFramePage();
			    page.frame.setOffState();
    			
			    //window.open("/Sedna/UI/Reports/ReportFrame.aspx?reports_reportId=1");
			    window.open(popupUrl);
		    }
	    </script>
     </form>
	
  </body>
</html>
